package br.usjt.mazerobot.pc.util;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {

    public static Properties loadProperties(String path) throws IOException {

        Properties properties = new Properties();

        InputStream inputStream = new FileInputStream(path);

        properties.load(inputStream);

        return properties;
    }
}